USE [DTP]
GO

/****** Object:  StoredProcedure [dbo].[GetVehicleList]    Script Date: 11/26/2010 16:41:51 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO



CREATE PROCEDURE [dbo].[GetPersonList]
	@id bigint
AS
	SELECT
	t_AccidentToPerson.PersonId,
	t_PersonCards.fullName
		
	FROM dbo.t_AccidentToPerson 
	INNER JOIN t_PersonCards  ON t_AccidentToPerson.PersonId = t_PersonCards.id 		
	WHERE t_AccidentToPerson.Deleted = 0 AND t_AccidentToPerson.id >= @id
			



GO


